package com.ljl.domain;

/**
 * @author 刘家良
 * @date 2022/10/27 01:06
 * @description
 */
public class NodeData {

    /** 节点名称 */
    private String name;

    /** 节点安装地址 */
    private String location;

    /** 唯一标识 */
    private String uuid;

    /** 温度数据 */
    private Float temperature;

    /** 湿度数据 */
    private Float humidity;

    /** 采集时间-时间戳 */
    private Long sampleTime;

    public NodeData() {
    }

    public NodeData(String name, String location, String uuid) {
        this.name = name;
        this.location = location;
        this.uuid = uuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Float getTemperature() {
        return temperature;
    }

    public void setTemperature(Float temperature) {
        this.temperature = temperature;
    }

    public Float getHumidity() {
        return humidity;
    }

    public void setHumidity(Float humidity) {
        this.humidity = humidity;
    }

    public Long getSampleTime() {
        return sampleTime;
    }

    public void setSampleTime(Long sampleTime) {
        this.sampleTime = sampleTime;
    }

}
